You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > ConcatVert Method > Matrix.ConcatVert Method ([In] TMtx[])
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.ConcatVert Method ([In] TMtx[])

Concenates an array of matrices vertically.

Syntax
C#
Visual Basic
public TMtx ConcatVert([In] TMtx[] Src);

Concenate the Src matrices vertically and store the results in calling matrix. The Rows, Cols and Complex properties of the calling matrix are adjusted automatically. An exception is raised, if any of the Src matrices Complex or Cols properties do not match.

var A,B,C,D,E: Matrix; begin A.Size(1,2); B.Size(A); E.Size(4,4); // overwrite the lower part of the E matrix // with values from A and B E.ConcatVert(2,2[A,B]); // E becomes: //[E11 E12 E13 E14] //[E21 E22 E23 E24] //[A11 A12 E33 E34] //[B11 B12 E43 E44]s end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!